#!/usr/bin/bash
echo "初始化数据库..."
mysql -h 192.168.1.10 -P 3306 -uroot -proot -e "source ./share/sql/gulimall_admin.sql"
mysql -h 192.168.1.10 -P 3306 -uroot -proot -e "source ./share/sql/gulimall_oms.sql"
mysql -h 192.168.1.10 -P 3306 -uroot -proot -e "source ./share/sql/gulimall_pms.sql"
mysql -h 192.168.1.10 -P 3306 -uroot -proot -e "source ./share/sql/gulimall_sms.sql"
mysql -h 192.168.1.10 -P 3306 -uroot -proot -e "source ./share/sql/gulimall_ums.sql"
mysql -h 192.168.1.10 -P 3306 -uroot -proot -e "source ./share/sql/gulimall_wms.sql"
mysql -h 192.168.1.10 -P 3306 -uroot -proot -e "source ./share/sql/nacos_config.sql"
